export default{
 hasRule:function(name) {
  let rule = JSON.parse(localStorage.getItem('baseuserinfo')).permissionInfo;
  return rule.includes(name)
 }
}
